[gd_scene load_steps=13 format=3 uid="uid://ccpsyn0u526db"]

[ext_resource type="Texture2D" uid="uid://wjwkmq3vfdh0" path="res://assets/checkerboard.png" id="1_3kjgq"]
[ext_resource type="Texture2D" uid="uid://u5awgmjxbhjk" path="res://assets/teetoe.png" id="1_4kd73"]
[ext_resource type="Script" path="res://scripts/player_controller.gd" id="1_f6vvo"]
[ext_resource type="Texture2D" uid="uid://cucsc1e38nddp" path="res://assets/awful-bush.png" id="4_2hyga"]

[sub_resource type="CylinderShape3D" id="CylinderShape3D_aaajt"]
height = 0.6
radius = 0.4

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_pc8nr"]
albedo_texture = ExtResource("1_3kjgq")
uv1_scale = Vector3(500, 500, 500)
texture_filter = 0

[sub_resource type="PlaneMesh" id="PlaneMesh_ch4d7"]
size = Vector2(1000, 1000)

[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_e2385"]

[sub_resource type="Environment" id="Environment_obkel"]
ambient_light_source = 2
ambient_light_color = Color(0.745098, 0.694118, 0.788235, 1)
ambient_light_energy = 0.5

[sub_resource type="BoxMesh" id="BoxMesh_f5bp0"]
size = Vector3(8, 4, 6)

[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_pdkqt"]
points = PackedVector3Array(-4, -2, -3, -4, 2, -3, 4, -2, -3, -4, -2, 3, -4, 2, 3, 4, 2, -3, 4, -2, 3, 4, 2, 3)

[sub_resource type="BoxShape3D" id="BoxShape3D_n7wfk"]
size = Vector3(2.5, 1, 0.145)

[node name="Game" type="Node3D"]

[node name="CharacterBody3D" type="CharacterBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.15538, 0)
script = ExtResource("1_f6vvo")

[node name="Player" type="Sprite3D" parent="CharacterBody3D"]
shaded = true
alpha_cut = 2
texture_filter = 0
texture = ExtResource("1_4kd73")

[node name="CollisionShape3D" type="CollisionShape3D" parent="CharacterBody3D"]
shape = SubResource("CylinderShape3D_aaajt")

[node name="Camera3D" type="Camera3D" parent="CharacterBody3D"]
transform = Transform3D(1, 0, 0, 0, 0.939693, 0.34202, 0, -0.34202, 0.939693, 0, 2.5, 6)
fov = 40.0

[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
material_override = SubResource("StandardMaterial3D_pc8nr")
mesh = SubResource("PlaneMesh_ch4d7")

[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"]

[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"]
shape = SubResource("WorldBoundaryShape3D_e2385")

[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_obkel")

[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.853887, -0.409443, 0.321299, 0.190444, 0.820329, 0.539251, -0.484363, -0.39927, 0.778445, 0, 1.21702, 0)
shadow_enabled = true
directional_shadow_split_1 = 0.029
directional_shadow_split_2 = 0.079
directional_shadow_split_3 = 0.278

[node name="Node3D" type="Node3D" parent="."]

[node name="StaticBody3D" type="StaticBody3D" parent="Node3D"]

[node name="MeshInstance3D" type="MeshInstance3D" parent="Node3D/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.76349, -6.46121)
mesh = SubResource("BoxMesh_f5bp0")
skeleton = NodePath("../..")

[node name="CollisionShape3D" type="CollisionShape3D" parent="Node3D/StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.76349, -6.46121)
shape = SubResource("ConvexPolygonShape3D_pdkqt")

[node name="StaticBody3D2" type="StaticBody3D" parent="Node3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.29459, 0.467805, -0.954693)

[node name="Sprite3D" type="Sprite3D" parent="Node3D/StaticBody3D2"]
shaded = true
alpha_cut = 2
texture_filter = 0
texture = ExtResource("4_2hyga")

[node name="CollisionShape3D" type="CollisionShape3D" parent="Node3D/StaticBody3D2"]
shape = SubResource("BoxShape3D_n7wfk")

[node name="StaticBody3D3" type="StaticBody3D" parent="Node3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.70541, 0.467805, 1.04531)

[node name="Sprite3D" type="Sprite3D" parent="Node3D/StaticBody3D3"]
shaded = true
alpha_cut = 2
texture_filter = 0
texture = ExtResource("4_2hyga")

[node name="CollisionShape3D" type="CollisionShape3D" parent="Node3D/StaticBody3D3"]
shape = SubResource("BoxShape3D_n7wfk")
